﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrl_KIOS_td.ascx.cs" Inherits="web_Controls_ctrl_KIOS_td" %>
<%@ Register Assembly="RadCalendar.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<%@ Register Assembly="RadInput.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>

<div id="vl_kios_main">
	<div id="vl_kios_banner">
		<div id="vl_kios_banner_l">
			<img src="../images/ki_btn_td.gif" />
		</div>
		<div id="vl_kios_banner_r">
			<div>
			<asp:RadioButton ID="radio_src_today" Text="Trong hôm nay" runat="server" GroupName="choose_to_src" />
			<asp:RadioButton ID="radio_src_thisweek" Text="Trong tuần này" runat="server" GroupName="choose_to_src" />
			<asp:RadioButton ID="radio_src_thismonth" Text="Trong tháng này" runat="server" GroupName="choose_to_src" />
			</div>
			<div>
			<asp:RadioButton ID="radio_src_range" Text="Trong khoảng" runat="server" GroupName="choose_to_src" />
                <rad:RadDatePicker id="txt_src_from_RadDatePicker" Runat="server" Font-Size="16pt" Skin="" Width="160px">
                    <Calendar Skin="">
                    </Calendar>
                    <PopupButton Font-Size="18pt" />
                    <DatePopupButton Font-Size="18pt" />
                </rad:RadDatePicker> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;
                <rad:RadDatePicker id="txt_src_to_RadDatePicker" Runat="server" Skin="" Width="160px">
                    <Calendar Skin="">
                    </Calendar>
                </rad:RadDatePicker></div>
			<div>
			    <asp:RadioButton ID="radio_src_none" Text="Không cần lọc theo thời gian" runat="server" GroupName="choose_to_src" Checked="true" />
				<asp:Button ID="btn_src" runat="server" Text="Lọc danh sách" CssClass="kios_btn_src" OnClick="btn_src_Click" />
			</div>
			<div id="ki_btn_home"><a href=KIOS_Default.aspx><img src="../images/ki_btn_home.gif" /><br />Trở về</a></div>
		</div>
	</div>
	<div id="vl_kios_cotent">
		<table>
			<tr>
				<td style="padding:10px">
					<div class="kios_bt_top">
						<div class="kios_bt_top_l"></div>
						<div class="kios_bt_top_r"></div>
						<div class="kios_bt_top_c"></div>
					</div>
					<div id="kios_bt_main">
						<div class="kios_bt_ct_top">
							<div class="kios_bt_ct_top_l"></div>
							<div class="kios_bt_ct_top_r"></div>
							<div class="kios_bt_ct_top_c"></div>
						</div>
						<div id="kios_ct_main">
							<ul id="kios_tag_button">
                                <li class=<%= _type.Trim().Equals("")?"kios_active":"" %> ><a href="KIOS_TRACUU.aspx?page=td">danh sách tuyển dụng</a></li>
                                <li class=<%= _type.Trim().Equals("1")?"kios_active":"" %> ><a href="KIOS_TRACUU.aspx?page=td&type=1">doanh nghiệp tuyển dụng</a></li>
                                <li class=<%= _type.Trim().Equals("2")?"kios_active":"" %> ><a href="KIOS_TRACUU.aspx?page=td&type=2">ngành nghề tuyển dụng</a></li>
                                <li class=<%= _type.Trim().Equals("3")?"kios_active":"" %> ><a href="KIOS_TRACUU.aspx?page=td&type=3">chức danh tuyển dụng</a></li>
                            </ul>
                            <div id="kios_ct_mains">
                                <div class="kios_ct_mains_tt_total">Tổng số: <asp:Label  ID="lbl_total" runat="server"></asp:Label></div>
                            </div>


                            <table>
                                <tr>
                                    <td align="left" style="width:1%;">
                                        <div id="div_list_by_cat" runat="server" visible="false">
                                            <div class="ki_list_by_tt"><asp:Label ID="lbl_title_fnc" runat="server"></asp:Label></div>
                                            <ul id="ki_list_by">
                                            <asp:Repeater runat="server" ID="rpt_list_by">
                                                <ItemTemplate>
                                                    <li><a href="?page=td&type=<%=_type %>&id=<%#DataBinder.Eval(Container.DataItem, "MA") %>"><%#DataBinder.Eval(Container.DataItem, "TEN") %></a></li>
                                                </ItemTemplate>
                                            </asp:Repeater>                
                                            </ul>
                                        </div>
                                    </td>
                                    <td>
                                        <table class="kios_table" cellpadding="0" cellspacing="0" style="text-align:left">  
                                            <asp:Repeater ID="rpt_list" runat="server" OnItemDataBound="rpt_list_OnItemDataBound">
                                                <HeaderTemplate>
                                                    <tr>
                                                        <th>Mã</th>
                                                        <th>Tiêu đề</th>
                                                        <th>Số lượng</th>
                                                        <th>Lương</th>
                                                        <th>Mô tả công việc</th>
                                                        <th>Ngày đăng</th>
                                                    </tr>
                                                </HeaderTemplate>
                                                <ItemTemplate>
                                                    <tr>
                                                        <td><a href="KIOS_Details.aspx?page=vtn_chitiet&id=<%#DataBinder.Eval(Container.DataItem, "ma_ho_so")%>" class="thickbox"><%#DataBinder.Eval(Container.DataItem, "ma_ho_so")%></a></td>
                                                        <td align="left"><a href="KIOS_Details.aspx?page=vtn_chitiet&id=<%#DataBinder.Eval(Container.DataItem, "ma_ho_so")%>" class="thickbox"><%#DataBinder.Eval(Container.DataItem, "tieu_de_ho_so")%></a></td>
                                                        <td><%#DataBinder.Eval(Container.DataItem, "so_luong_tuyen")%>&nbsp;</td>
                                                        <td><asp:Label ID="lbl_luong" runat="server"></asp:Label>&nbsp;</td>
                                                        <td><%#DataBinder.Eval(Container.DataItem, "mo_ta")%>&nbsp;</td>
                                                        <td><%#DataBinder.Eval(Container.DataItem, "ngay_dang_vn")%>&nbsp;</td>
                                                    </tr>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                        </table>
                                        <br />
                                        <div class="pagination">
                                            <cc1:PagerV2_8 ID="pagination1" runat="server" GenerateFirstLastSection="True" GenerateGoToSection="True" OnCommand="pagination1_Command" PageSize="50" BackToFirstClause="Trang đầu tiên" BackToPageClause="Quay lại trang" GoClause="Đi" GoToLastClause="Trang cuối cùng" NextToPageClause="Trang tiếp theo" OfClause="của" PageClause="Trang" ShowingResultClause="Hiển thị kết quả" ShowResultClause="Hiển thị kết quả" ToClause="đến" />
                                        </div>
                                    </td>
                                </tr>
                            </table>
						</div>
						<div class="kios_bt_ct_bottom">
							<div class="kios_bt_ct_bottom_l"></div>
							<div class="kios_bt_ct_bottom_r"></div>
							<div class="kios_bt_ct_bottom_c"></div>
						</div>
						
					</div>
					<div class="kios_bt_bottom">
						<div class="kios_bt_bottom_l"></div>
						<div class="kios_bt_bottom_r"></div>
						<div class="kios_bt_bottom_c"></div>
					</div>
				</td>
			</tr>
		</table>
	</div>
</div>